<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录-有点</title>
<link rel="stylesheet" type="text/css" href="/ci/public/admin/css/public.css" />
<link rel="stylesheet" type="text/css" href="/ci/public/admin/css/page.css" />
<script type="text/javascript" src="/ci/public/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="/ci/public/admin/js/public.js"></script>
</head>
<body>
<form action="<?php echo site_url('admin/login/loginup'); ?>" method="post">
	<!-- 登录页面头部 -->
	<div class="logHead">
		<img src="/ci/public/admin/img/logLOGO.png" />
	</div>
	<!-- 登录页面头部结束 -->

	<!-- 登录body -->

	<div class="logDiv">
		<img class="logBanner" src="/ci/public/admin/img/logBanner.png" />
		<div class="logGet">
			<!-- 头部提示信息 -->
			<div class="logD logDtip">
				<p class="p1">登录</p>
			</div>
			<!-- 输入框 -->
			<div class="lgD">
				<img class="img1" src="/ci/public/admin/img/logName.png" /><input type="text"
					placeholder="输入用户名" name="admin_name" id="admin_name" />
			</div>
			<div class="lgD">
				<img class="img1" src="/ci/public/admin/img/logPwd.png" /><input type="text"
					placeholder="输入用户密码" name="admin_pwd" id="admin_pwd" />
			</div>
			<div class="lgD logD2">
				<input class="getYZM" type="text" name="code" />
				<div class="logYZM">
					<img class="yzm" src="<?php echo site_url()?>/admin/login/yzm" onclick="this.src='<?php echo site_url()?>/admin/login/yzm?'+Math.random()"/>
				</div>
			</div>
            <div class="logC">
                <input type="submit" value="登 录" id="sub" class="button">
            </div>

		</div>
	</div>
	<!-- 登录body  end -->

	<!-- 登录页面底部 -->
	<div class="logFoot">
		<p class="p1">版权所有：家天下网络科技有限公司</p>
		<p class="p2">家天下网络科技有限公司 登记序号：苏ICP备11003578号-2</p>
	</div>
	<!-- 登录页面底部end -->
	</form>
</body>
</html>
<script type="text/javascript">
$("#sub").click(function() {
	var admin_name=document.getElementById('admin_name');
	var admin_pwd=document.getElementById('admin_pwd');
	if (admin_name=='') {
		alert('用户名不能为空');
		return false;
	};
	if (admin_pwd=='') {
		alert('密码不能为空');
		return false;
	};
	
	
	
	
});

</script>